package com.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.LogBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;

/**
 * @author RJ
 * @date 2022/9/14 15:10
 */
@Repository
public interface ILogDao extends BaseMapper<LogBean> {
    IPage<LogBean> cutLogByDate(Page<LogBean> page, @Param("start") LocalDate startDate, @Param("end") LocalDate endDate);
}
